<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilplmi: xplmi_tamper.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilplmi
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xplmi__tamper_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xplmi_tamper.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains the tamper response processing routines. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date     Changes
</p>
<hr/>
<p>
1.0   ma   07/08/2022 Initial release
      ma   07/19/2022 Disable interrupts before calling secure lockdown proc
                      and continue secure lockdown irrespective of the status
      kpt  07/21/2022 Added XPlmi_IfHaltBootTriggerSLD
      ma   07/25/2022 Enhancements to secure lockdown code
1.01  ng   11/11/2022 Updated doxygen comments
      bm   01/03/2023 Create Secure Lockdown as a Critical Priority Task
      bm   01/03/2023 Notify Other SLRs about Secure Lockdown
1.02  skd  04/10/2023 Fix third party review comments
1.03  sk   07/18/2023 Added NULL check in RegisterTamperIntrHandler
      sk   08/17/2023 Updated XPlmi_EmSetAction arguments
      dd   09/12/2023 MISRA-C violation Rule 17.7 fixed
1.04  ma   10/10/2023 Added redundancy to TAMPER_RESP_0 and TAMPER_TRIG writes
      mss  10/31/2023 Added code to Trigger FW CR error in XPlmi_ProcessTamperResponse
2.00  ng   12/27/2023 Reduced log level for less frequent prints</pre><pre></pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gabaab681bcecdf1765151ddb375de87dc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#gabaab681bcecdf1765151ddb375de87dc">PMC_ANALOG_GD_CTRL_REG</a>&#160;&#160;&#160;(0xF1160000U)</td></tr>
<tr class="memdesc:gabaab681bcecdf1765151ddb375de87dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">PMC_ANALOG base address.  <a href="group__xilplmi__server__apis.html#gabaab681bcecdf1765151ddb375de87dc">More...</a><br/></td></tr>
<tr class="separator:gabaab681bcecdf1765151ddb375de87dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8205d908e43c49788e2693c82e292010"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga8205d908e43c49788e2693c82e292010">PMC_ANALOG_GD0_RST_STATUS_REG_MASK</a>&#160;&#160;&#160;(0x200U)</td></tr>
<tr class="memdesc:ga8205d908e43c49788e2693c82e292010"><td class="mdescLeft">&#160;</td><td class="mdescRight">Glitch detector0 status mask.  <a href="group__xilplmi__server__apis.html#ga8205d908e43c49788e2693c82e292010">More...</a><br/></td></tr>
<tr class="separator:ga8205d908e43c49788e2693c82e292010"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga903146d26a4f9afd71a39268dc64f4fe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga903146d26a4f9afd71a39268dc64f4fe">PMC_ANALOG_GD1_RST_STATUS_REG_MASK</a>&#160;&#160;&#160;(0x2000000U)</td></tr>
<tr class="memdesc:ga903146d26a4f9afd71a39268dc64f4fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Glitch detector1 status mask.  <a href="group__xilplmi__server__apis.html#ga903146d26a4f9afd71a39268dc64f4fe">More...</a><br/></td></tr>
<tr class="separator:ga903146d26a4f9afd71a39268dc64f4fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga409269183a7041cc293b44be0e8f903c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga409269183a7041cc293b44be0e8f903c">PMC_ANALOG_GD_STATUS</a></td></tr>
<tr class="memdesc:ga409269183a7041cc293b44be0e8f903c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Glitch detector status mask.  <a href="group__xilplmi__server__apis.html#ga409269183a7041cc293b44be0e8f903c">More...</a><br/></td></tr>
<tr class="separator:ga409269183a7041cc293b44be0e8f903c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaae47ceb27a0bb365470de6a4f6ccb823"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#gaae47ceb27a0bb365470de6a4f6ccb823">CRP_CFU_REF_CTRL</a>&#160;&#160;&#160;(0xF1260108U)</td></tr>
<tr class="memdesc:gaae47ceb27a0bb365470de6a4f6ccb823"><td class="mdescLeft">&#160;</td><td class="mdescRight">CRP CFU_REF_CTRL register address.  <a href="group__xilplmi__server__apis.html#gaae47ceb27a0bb365470de6a4f6ccb823">More...</a><br/></td></tr>
<tr class="separator:gaae47ceb27a0bb365470de6a4f6ccb823"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab5db94de5d75ff3a7aa9764eda34d764"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#gab5db94de5d75ff3a7aa9764eda34d764">CRP_CFU_REF_CTRL_DIVISOR_MASK</a>&#160;&#160;&#160;(0x3FF00U)</td></tr>
<tr class="memdesc:gab5db94de5d75ff3a7aa9764eda34d764"><td class="mdescLeft">&#160;</td><td class="mdescRight">CRP CFU_REF_CTRL Divisor mask.  <a href="group__xilplmi__server__apis.html#gab5db94de5d75ff3a7aa9764eda34d764">More...</a><br/></td></tr>
<tr class="separator:gab5db94de5d75ff3a7aa9764eda34d764"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga491f0294abfdf8605802f83d5d3441f2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga491f0294abfdf8605802f83d5d3441f2">CFU_REF_CTRL_DIVISOR_INCREASE</a>&#160;&#160;&#160;(0x2U)</td></tr>
<tr class="memdesc:ga491f0294abfdf8605802f83d5d3441f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">CRP CFU_REF_CTRL Divisor increase.  <a href="group__xilplmi__server__apis.html#ga491f0294abfdf8605802f83d5d3441f2">More...</a><br/></td></tr>
<tr class="separator:ga491f0294abfdf8605802f83d5d3441f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaa2236b1a5bcc98eba23dde0ad6939885"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#gaa2236b1a5bcc98eba23dde0ad6939885">XPlmi_SldState</a> (void)</td></tr>
<tr class="memdesc:gaa2236b1a5bcc98eba23dde0ad6939885"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns Secure Lockdown State.  <a href="group__xilplmi__server__apis.html#gaa2236b1a5bcc98eba23dde0ad6939885">More...</a><br/></td></tr>
<tr class="separator:gaa2236b1a5bcc98eba23dde0ad6939885"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga409ca4e187fb02b456319b706ea01e1f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga409ca4e187fb02b456319b706ea01e1f">XPlmi_TriggerTamperResponse</a> (u32 Response, u32 Flag)</td></tr>
<tr class="memdesc:ga409ca4e187fb02b456319b706ea01e1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This functions Triggers Tamper Response processing immediately or as a task.  <a href="group__xilplmi__server__apis.html#ga409ca4e187fb02b456319b706ea01e1f">More...</a><br/></td></tr>
<tr class="separator:ga409ca4e187fb02b456319b706ea01e1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f22c870cebbe3123b9eb458336bc4ed"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga2f22c870cebbe3123b9eb458336bc4ed">XPlmi_RegisterTamperIntrHandler</a> (void)</td></tr>
<tr class="memdesc:ga2f22c870cebbe3123b9eb458336bc4ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function registers the handler for tamper interrupt.  <a href="group__xilplmi__server__apis.html#ga2f22c870cebbe3123b9eb458336bc4ed">More...</a><br/></td></tr>
<tr class="separator:ga2f22c870cebbe3123b9eb458336bc4ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad4eebf5b872ad3d85898142943f2b1b4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#gad4eebf5b872ad3d85898142943f2b1b4">XPlmi_TriggerSLDOnHaltBoot</a> (u32 Flag)</td></tr>
<tr class="memdesc:gad4eebf5b872ad3d85898142943f2b1b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function triggers secure lockdown if haltboot efuses are programmed.  <a href="group__xilplmi__server__apis.html#gad4eebf5b872ad3d85898142943f2b1b4">More...</a><br/></td></tr>
<tr class="separator:gad4eebf5b872ad3d85898142943f2b1b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
